using UnityEngine;
using System.Collections;

public class StateZombieDie : State<ZombieControl>
{
	static StateZombieDie m_instance = new StateZombieDie();
    public static StateZombieDie instance { get { return m_instance; } }

	 public override void OnEnter(ZombieControl behaviour)
    {
		 //behaviour.BroadcastMessage("EnemigoMuerto", behaviour.transform);
		behaviour.Destruir();  
		        
    }

    public override void OnUpdate(ZombieControl behaviour)
    {
    }

    public override void OnExit(ZombieControl behaviour)
    {
       
    }

    public override void OnAction(string name, ZombieControl behaviour, object value)
    {
        
    }

}
